package com.mspbots.core.wise.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mspbots.core.DefaultBaseService;
import com.mspbots.core.wise.model.TenantReport;

/**
 * com.mspbots.core.service.TenantReportService
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/16
 */
public interface TenantReportService extends DefaultBaseService<TenantReport> {

    /**
     * sender  TenantReport Mail to user
     *
     * @param report TenantReport  entry
     * @return
     */
    Boolean senderMail(TenantReport report);

    IPage<TenantReport> page(Page<TenantReport> page, Wrapper<TenantReport> queryWrapper);
}
